package com.beyondsoft.sabg.edu.service.impl;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.json.JSONUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.beyondsoft.sabg.edu.model.db.FormSetting;
import com.beyondsoft.sabg.edu.model.db.StudentInfo;
import com.beyondsoft.sabg.edu.model.db.TeacherInfo;
import com.beyondsoft.sabg.edu.model.enums.FormSettingEnum;
import com.beyondsoft.sabg.edu.model.enums.TeacherPositionEnum;
import com.beyondsoft.sabg.edu.model.exception.InvalidParamException;
import com.beyondsoft.sabg.edu.repository.FormSettingRepo;
import com.beyondsoft.sabg.edu.repository.StudentRepo;
import com.beyondsoft.sabg.edu.service.*;
import com.beyondsoft.sabg.edu.service.core.UserAccountService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.compress.utils.Lists;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.*;
import java.util.stream.Collectors;

@Service
@Slf4j
public class FormSettingServiceImpl extends AbstractSimpleServiceImpl<FormSetting, FormSettingRepo> implements FormSettingService {
    @Autowired
    private UserAccountService userAccountService;
    @Autowired
    private TeacherService teacherService;
    @Autowired
    private StudentRepo studentRepo;

    private static final String DEFAULT_USER = "7145";
    private static final String DEFAULT_USER2 = "1327";

}
